package com.game.checkers.rules;

public abstract class Rules {

	public static Rules createRules(int rulesType) {
		switch (rulesType) {
		case 1:
			rulesType = 1;
			Rules russianRules = new RussianRules();
			return russianRules;
		case 2:
			rulesType = 2;
			Rules internationalRules = new InternationalRules();
			return internationalRules;
		case 3:
			rulesType = 3;
			Rules armenianRules = new ArmenianRules();
			return armenianRules;
		default:
			System.err.println("Error, wrong number");
			return null;
		}
	}

}